package com.generalbackend.role.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
* ClassName: UserRole
* @Description 用户角色关联表实体类
* @author tim.xie
* @date 2021-12-16 13:24
*/

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_user_role")
public class UserRole  {
	/**
	 * 用户ID
	 */
    @TableField("user")
    private Long user;
	/**
	 * 角色ID
	 */
    @TableField("role")
    private Long role;
	/**
	 * 创建时间
	 */
    @TableField("create_time")
    private Date createTime;
	/**
	 * 修改时间
	 */
    @TableField("update_time")
    private Date updateTime;


}